f = open("./data.txt", 'w+')
id = 0
for i in range(1, 11):
    id = i
    username = "tom" + str(i)
    sql = "INSERT INTO users (id,username ,passworld) VALUES ("+ str(id) +","+ username +", 123);"
    f.write(sql)
    f.write("\n")

f.close()
